package com.example.flatlafdemo.components.tree;

import javax.swing.*;
import java.awt.*;

public class TreeDemo extends JPanel {

    public TreeDemo() {
        initPanel();
    }

    private void initPanel() {
        this.setLayout(new BorderLayout());
        add(new JScrollPane(new JTree()), BorderLayout.CENTER);
    }
}
